#include <iostream>
#include <unistd.h>
#include <wiringPi.h>
#include <softPwm.h>
#include "modestruct.h"
#define LedRed 0
#define LedGreen 1
using namespace std;
using namespace t_mode_struct;

int main(){
    if(wiringPiSetup()==-1){
        return -1;
    }
    led led1(0,t_MOD_CONSTANT);
    led1.startlight();
    delay(100);
    led1.stoplight();

}